home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
cqa.zip
/
ADATA64.BCP
< prev
next >
Wrap
Text File
|
1991-03-05
|
831b
|
15 lines
BC++:WINDOWS: "Automatic data segment exceeds 64K" at link time
The Automatic Data Segment (ADS) consists of the DGROUP data segment, the
size of the local heap and the size of the stack. The size of the local
heap and stack are controlled by the HEAPSIZE and STACKSIZE keywords in the
module definition file (.def file). The size of the DGROUP, however, is
controlled by the amount of static initialized and unitialized data. To
see where all the space in DGROUP is going, use a detailed segment map
(TLINK's /s option or BCC's -ls option) and look in the detailed segment
section for all segments and modules contributing to DGROUP (they will be
marked "G=DGROUP."
SOLUTION: Reduce stacksize and/or heapsize allocations in the application
DEF file, make some data far or reduce your near data usage.